package com.mysns.core.domain;

import java.io.Serializable;

/**
 * 通用用户类, 主要是为了扩展不同的用户.
 * 
 * @author zhouych
 */
@SuppressWarnings("serial")
public class GenericUser implements Serializable {

	/**
	 * 主键id
	 */
	private long id;
	
	/**
	 * 登录用户名
	 */
	private String loginName;
	
	/**
	 * 登录密码
	 */
	private String password;
	
	/**
	 * 邮箱
	 */
	private String email;
	
	/**
	 * 地址
	 */
	private Address address;
	
	/**
	 * 个人头像/公司logo
	 */
	private String image;
	
	/**
	 * 用户状态<br><ul>
	 * <li>0 - 游客</li>
	 * <li>1 - 邮箱未认证</li>
	 * <li>2 - 身份未认证</li>
	 * <li>3 - 全认证</li>
	 * <li>4 - 用户不可用</li></ul>
	 */
	private int status;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
